package sk.openit.logging;

import org.apache.log4j.Logger;

public class LogExample {
	private static Logger logger = Logger.getLogger(Logger.class);

	public LogExample() {
	}

	public void logFatal(String message, Exception e){
		logger.fatal(message, e);
	}

	public void logError(String message, Exception e){
		logger.error(message, e);
	}

	public void logWarning(String message){
		logger.warn(message);
	}

	public void logInfo(String message){
		logger.info(message);
	}

	public void logDebug(String message){
		logger.debug(message);
	}
}
